// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from './axios'
import store from './store'
import '@/assets/js/e_fish.js'

Vue.config.productionTip = false;
import iView from 'iview';
import 'iview/dist/styles/iview.css';
Vue.use(iView);

// import Vconsole from 'vconsole'
// let vConsole = new Vconsole()
router.afterEach(() => {
  document.body.scrollTop = 0;
  document.documentElement.scrollTop = 0;
})

/* eslint-disable no-new */
new Vue({
  el: '#fish_contanier',
  router,
  axios,
  store,
  components: { App },
  template: '<App/>'
})
